package com.coincalf.wallet.feign.hystrix;

import com.coincalf.wallet.feign.UserInfoServiceClient;
import com.coincalf.wallet.feign.dto.UserInfoDTO;
import org.springframework.stereotype.Component;

@Component
public class UserInfoServiceClientFallback implements UserInfoServiceClient {

    /**
     * ͬ��ע���û���Ϣ
     *
     * @param userInfoDTO
     * @return
     */
    @Override
    public boolean addUserInfo(UserInfoDTO userInfoDTO) {
        return false;
    }

    /**
     * ?????????
     *
     * @param userInfoDTO
     * @return
     */
    @Override
    public boolean updateUserInfo(UserInfoDTO userInfoDTO) {
        return false;
    }
}
